package com.wowangz.cms.syscore.utils;


public class DataPageUtil {
	
	public static final int pageNum=100;
	
	public static int totalPages(int count){
		int totalPages = 0;
		if ((count % pageNum) == 0) {
            totalPages = count/ pageNum;
        } else {
            totalPages = count/ pageNum + 1;
        }
		return totalPages;
	}
}
